﻿using System.Text;
using CI.Models;

namespace CI.Utility
{
    public static class ActivityHelper
    {
        public static string FormatActivity(Activity activity)
        {
            var sb = new StringBuilder();

            foreach (var c in activity.ToString())
            {
                if (char.IsUpper(c))
                {
                    sb.Append(' ');
                }
                sb.Append(c);
            }

            return sb.ToString().TrimStart();
        }
    }
}